package com.cyj.edu.service.impl.impl;

import com.cyj.edu.mapper.AccountMapper;
import com.cyj.edu.pojo.Account;
import com.cyj.edu.service.impl.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    private AccountMapper accountMapper;

    public List<Account> queryAccountList() throws Exception {
        List<Account> accounts = accountMapper.queryAccountList();
        return accounts;
    }
}
